import ProSelect from "@/components/ProSelect"
import { queryCodeupReleasePlan } from "@/service/deliver"
import { SelectProps } from "antd"
import React from "react"
 
const ReleasePlanSelect = ({ id, ...props }: SelectProps) => {
    console.log({ props })
    return <ProSelect placeholder='请选择迭代' showLable='version' style={{ width: 200 }} request={() => queryCodeupReleasePlan({ id })} fieldNames={{
        value: 'id',
        label: 'name'
    }} {...props} />
}
export default React.memo(ReleasePlanSelect,(a,b)=>(a.id==b.id&&a.value==b.value))
// export default ReleasePlanSelect